﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Project
{
    public class ProjectProgress : FullAuditedEntity<int>
    {

        /// <summary>
        /// 项目Id
        /// </summary>
        public virtual int ProjectId
        {
            get;
            set;
        }



        /// <summary>
        /// 项目进度
        /// </summary>
        public virtual int ProgressRate
        {
            get;
            set;
        }

        /// <summary>
        /// 进展备注
        /// </summary>
        public virtual string Note
        {
            get;
            set;
        }

        /// <summary>
        /// 任务
        /// </summary>
        public virtual string Task { get; set; }



        /// <summary>
        /// 项目状态
        /// </summary>
        public virtual Status Status
        {
            get;
            set;
        }

        ///// <summary>
        ///// 项目进度状态
        ///// </summary>
        //public virtual ProgressStatus ProgressStatus
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        ///// 每个状态的起始时间
        ///// </summary>
        //public virtual DateTime StartTime
        //{
        //    get;
        //    set;
        //}
        ///// <summary>
        ///// 预期完成时间
        ///// </summary>
        //public virtual DateTime? EndTime
        //{
        //    get;
        //    set;
        //}

        /// <summary>
        /// 实际开始时间
        /// </summary>
        public virtual DateTime ActualStartTime { get; set; }


        /// <summary>
        /// 预期结束时间
        /// </summary>
        public virtual DateTime ActualEndTime { get; set; }
    }
}
